package com.example.user.dao.user;

import com.example.common.User;

/**
 * @author kangshuai
 */
public interface UserMapper {


    /**
     * 查询用户
     *
     * @param email
     * @return
     */
    User selectByEmail(String email);

    /**
     * 添加用户
     *
     * @param user
     * @return
     */
    Boolean insertUser(User user);
}
